function closeApp() {
  recents();
  sleep(2 * 1000);
  utils.click_point(269, 1410, 451, 1592);
  sleep(2 * 1000);
  recents();
  sleep(2 * 1000);
  swipe(
    device.width / 2,
    (device.height / 10) * 5,
    device.width / 2,
    (device.height / 10) * 2,
    500
  );
}
closeApp();
